package adapterPackage;

import java.util.ArrayList;
import java.util.List;

import systemPackage.MainSystem;
import dataTypesPackage.Guzergah;


public class GuzergahAdapter {
	public static List<Guzergah> getAllGuzergah(){
		List<Object> objectList = MainSystem.getAll(Guzergah.class);
		//as all getAll functions, we have to cast to according class
		List<Guzergah> guzergahList = new ArrayList<Guzergah>();
		for(Object temp:objectList){
			guzergahList.add((Guzergah)temp);
		}
		return guzergahList;
	}
}
